package cn.sunlelin.educationserver.mapper;

import cn.sunlelin.educationserver.entity.Announce;

import java.util.List;
import java.util.Map;

public interface AnnounceMapper {
    public void createAnnounce(Announce announce);
    public Map<String,Object> selectAnnounceById(Integer announceId);
    public List<Map<String,Object>> selectAnnounceByCourseId(Integer courseId);
    public void updateAnnounce(Announce announce);
    public void deleteAnnounce(Announce announce);

}
